Auto merge of #2040 - alexcrichton:dedupe, r=brson
authorbors <bors@rust-lang.org>
Thu, 8 Oct 2015 20:15:13 +0000 (20:15 +0000)
committerbors <bors@rust-lang.org>
Thu, 8 Oct 2015 20:15:13 +0000 (20:15 +0000)
I removed this in 68014ab8 thinking it wasn't necessary, which it technically
isn't for correctness but it ends up leading to absurdly long command lines to
the compiler for larger projects. This also changes the `Vec` to be a `BTreeSet`
to have sorting and deduplication as we go along which should be much faster
than waiting to sort until the very end.

1  2 
src/cargo/ops/cargo_rustc/custom_build.rs